<?php
    /**创建优惠卷验证
     * Created by PhpStorm.
     * User: huangzhongwei
     * Date: 2018/10/25
     * Time: 8:42
     */

    namespace app\api\validate;


    class SaveVoucher extends BaseValidate
    {
        protected $rule=[
            'type'=>'require|isPositiveInteger',
            'money'=>'require|isNotEmpty',
            'expired_time'=>'require|isNotEmpty'
        ];
    }